<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ESM27化学品数据查询服务</title>
<link type="text/css" rel="stylesheet" href="/css/base.css">
<script type="text/javascript" src="/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
	<form action="/chemical" class="center" method="get">
		<img src="/images/search_logo.png" class=""/>
		<div class="index_search">
			<input id="search_input" name="key" type="text" value="" placeholder="请输入气体名称"/><input type="submit" value="搜一下"/>
		</div>
		<div class="tools">
			<a href="">NRCC网站爬虫抓取工具</a>
		</div>
	</form>
	<script>
	$(document).ready(function(){
		$("#search_input").focus();
		$("#search_input").keyup(function(event){
			if(event.keyCode ==13){
				$("form").submit();
			}
		});
	});
	
	function search(key){
		window.location.href = "/chemical?key="+key;
	}
	</script>
</body>
</html>